import httpRequest from '@/services'
export function getLibList(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            msg_id: '1034',
            start_no: 1
        },
    })
}

export function addLib(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            msg_id: '1025',
        },
    })
}

export function editLib(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            msg_id: '1027',
        },
    })
}

export function deleteLib(params) {
    return httpRequest({
        url: window.config.jsonHost,
        method: 'post',
        params: {
            ...params,
            msg_id: '1026',
        },
    })
}